import {request} from 'umi'

export function login(payload:any){
   return request('/login?grant_type=admin',{
     method:'POST',
     data:payload
   })
}